﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Production
{
    /// <summary>
    /// 产线管理信息录入命令类
    /// </summary>
    public class CreateProductionCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 产线编码
        /// </summary>
        public string Productioncode { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        public string Productionname { get; set; }

        /// <summary>
        /// 产线描述
        /// </summary>
        public string Productiondesc { get; set; }

        /// <summary>
        /// 所属车间
        /// </summary>
        public int Workshopid { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
